package com.heo.music.player.dto.output;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * created on 2024-05-11 09:28
 *
 * @author 星天无极
 **/
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "音乐信息")
@Data
public class MusicInfoOutput extends BaseOutput {

    @ApiModelProperty(value = "id", required = true)
    private Integer id;

    @ApiModelProperty(value = "音乐标题", required = true)
    private String title;

    @ApiModelProperty(value = "艺术家", required = true)
    private String artist;

    @ApiModelProperty(value = "专辑", required = true)
    private String album;

    @ApiModelProperty(value = "时长（秒）", required = true)
    private Integer duration;

    @ApiModelProperty(value = "音乐文件路径", required = true)
    private String filePath;

    @ApiModelProperty(value = "音乐封面路径")
    private String coverPath;

    @ApiModelProperty(value = "音乐歌词路径")
    private String lyricsPath;

}
